
const express = require('express');
const cookieParser = require('cookie-parser');//?cookie解析中间件
const bodyParser = require('body-parser');//?body解析中间件
const app = express();//?生成路由实例
app.use(cookieParser());//?挂载cookie解析器
app.use(bodyParser.urlencoded({ extended: false }));//?挂在body解析器
module.exports=app
